/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pruebaVisitor;

/**
 *
 * @author Instructor
 */
abstract class Product implements Visitable{
    private double price;
    private double weight;

    Product(double price, double weight) {
        this.price = price;
        this.weight = weight;
    }

    /**
     * @return the price
     */
    public double getPrice() {
        return price;
    }

    /**
     * @return the weight
     */
    public double getWeight() {
        return weight;
    }


}
